package com.common.event;

public class MessageEvent {
    public static final int TYPE_NEW_MESSAGE = 1;
    public static final int TYPE_MESSAGE_READ = 2;

    private int type;
    private String message;
    private String content;

    public MessageEvent() {
    }

    public MessageEvent(int type, String message, String content) {
        this.type = type;
        this.message = message;
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public String getMessage() {
        return message;
    }

    public String getContent() {
        return content;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
